<?php get_header(); ?>
<div id="roll"><div title="回到顶部" id="roll_top"></div></div>
<div id="content">
<div class="main">
<div id="mapsite">当前位置： <a title="返回首页" href="<?php echo get_settings('Home'); ?>/">首页</a> &gt; <?php the_category(', ') ?> &gt; 正文</div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="left">
<h2><?php get_my_title(); ?></h2>
	<div class="post_date">
		<!--<span class="date_y"><?php the_time('Y') ?></span>-->
		<span class="date_m"><?php echo  the_time('m-d')?></span>
		<span class="date_d"><?php the_time('H:i') ?></span>
	</div>
<div class="article">
 		<div class="thumbnail_box">
			<div class="mall">
				<div class="mall-from"><?php echo get_post_meta($post->ID, 'mall_name', true); ?></div>
			</div>
	    	<div id="baidu-map" class="map"></div>
    		<div class="baidu-map-other">
				<span id="show_large_map">
				<a class="baidu-map-open" style="cursor:pointer;">查看完整地图</a>
				</span>
			</div>
		</div>
        <div class="context">
        	<div class="info">
			<div class="categorise">分类：<?php the_category(', ') ?></div>
			<div class="autor"> 推荐人：<?php the_author() ?></div>
		</div>
        <?php if (get_option('swt_adb') == 'Display') { ?>
        <div style="float:right;border:1px #ccc solid;padding:2px;overflow:hidden;margin:12px 0 1px 2px;">
        <?php echo stripslashes(get_option('swt_adbcode')); ?>
        </div>
        <?php { echo ''; } ?><?php } else { } ?><?php the_content('Read more...'); ?>
        <?php wp_link_pages(); ?>
        </div>
        <?php if (get_option('swt_adc') == 'Display') { ?>
        <p style="text-align:center;"><?php echo stripslashes(get_option('swt_adccode')); ?></p>
        <?php { echo ''; } ?><?php } else { } ?>
        <div class="single_tag" style="padding:5px 0;">
        	<?php echo the_tags("标签：")?>
        </div>
        
    
	<div class="score">
		<div class="rating">
			<span style="padding=0px;float:left;">评分：</span>
			<span style="padding=0px;float:left;"><?php if(function_exists(the_ratings)) { the_ratings(); } ?></span>
		</div>
		<div class="zhuanfa">
				<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare" data="{'text':' <?php the_title(); ?>','url':'<?php the_permalink() ?>',pic:''<?php the_post_thumbnail_src()?>}">
					<span class="postshare">分享到：</span>
					<a class="bds_tsina" title="分享到新浪微博" href="#"></a>
					<a class="bds_tqq" title="分享到腾讯微博" href="#"></a>
					<a class="bds_renren" title="分享到人人网" href="#"></a>
					<span class="bds_more"></span>
				</div>
		</div>
	</div>
	<div class="clear"></div>
	</div>
</div>



<div class="articles">
<div class="nav-previous" >
上一篇：  <?php previous_post_link('%link') ?>
</div>
<div class="nav-next" >
下一篇：  <?php next_post_link('%link') ?>
</div>
</div>

<div class="articles">
<?php include('includes/related.php'); ?>
<div class="clear"></div>
</div>

<div class="articles">
<?php comments_template(); ?>
</div>
<?php echo baidu_map()?>

	<?php endwhile; else: ?>
	<?php endif; ?>
</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>